package com.ym.jiujiangeyou;

import com.ym.jiujiangeyou.app.AppManager;
import com.ym.jiujiangeyou.app.MyApplication;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
 /**   
 * @author 叶铭   
 * @email yeming_1001@163.com
 * @version V1.0   
 */
public class SceneryPrompt extends Activity {

	private TextView title_text, s_prompt;
	private MyApplication application;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		// 添加Activity到堆栈
		AppManager.getAppManager().addActivity(this);
		super.setContentView(R.layout.scenery_prompt) ;
		
		Bundle bundle = this.getIntent().getExtras();
		title_text = (TextView) findViewById(R.id.title_text);
		s_prompt = (TextView) findViewById(R.id.s_prompt) ;
		
		title_text.setText(R.string.detail_prompt);
		s_prompt.setText(bundle.getString("prompt").toString()) ; 
	}
	
	@Override
	public void onBackPressed() {    
		// TODO Auto-generated method stub
		super.onBackPressed() ;
		this.finish() ;
	}


}
